package hotel.quartz.oversea;

import hotel.quartz.oversea.annotation.EnableHotelResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * <p>
 * 定时器
 * </p>
 *
 * @package: hotel.quartz
 * @description: 启动器
 * @version: V1.0
 */
@MapperScan("hotel.quartz.mapper")
@EnableHotelResourceServer
@EnableFeignClients(basePackages ={"hotel.quartz.feign"})
@EnableEurekaClient
@SpringBootApplication
@EnableAsync// 开启异步支持
public class HotelQuartzOverseaApplication {
    public static void main(String[] args) {
        SpringApplication.run(HotelQuartzOverseaApplication.class, args);
    }
}
